#!/bin/bash
set -e
BUILD_OUT_PATH="./build/"
if [ ! -e ${BUILD_OUT_PATH} ]
then
  mkdir build
  echo "creat ./build/"
fi

echo "start build"
cd build
cmake ..
make
echo "end build"